-
Notifications
You must be signed in to change notification settings - Fork 3.8k
Upgrade clang-format from version 15 to 19 #7250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
Copilot reviewed 29 out of 32 changed files in this pull request and generated 2 comments.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| V=$(clang-format --version) | ||
| if [[ $V != *15.0* ]] ; then | ||
| echo "clang-format is not 15.0 (returned ${V})" | ||
| if [[ $V != *19.1* ]] ; then |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The version check is overly specific, checking for exactly version 19.1. This will reject clang-format versions like 19.0.x or any future 19.2.x, 19.3.x releases. Consider using a more flexible pattern like 19 or 19. to allow any clang-format 19.x version.
|
|
||
| format-taginfo-docs: | ||
| runs-on: ubuntu-22.04 | ||
| runs-on: ubuntu-24.10 |
Copilot
AI
Jan 14, 2026
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ubuntu 24.10 is an interim release with support until July 2025. Using an interim release for CI can lead to maintenance issues when it reaches end-of-life. Consider using ubuntu-24.04 LTS instead, which has longer support (until 2029) and should also have clang-format-19 available through packages or can be easily installed.
Issue
#7249
Tasklist
Requirements / Relations
none